package com.wan.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 楼栋平面图定位表
 * </p>
 *
 * @author admin
 * @since 2020-04-15
 */
@Data
@TableName("t_bs_position")
public class BsPosition implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 建筑物id
     */
    @TableField("build_id")
    private Integer buildId;

    /**
     * 左
     */
    @TableField("left_p")
    private String leftP;

    /**
     * 上
     */
    @TableField("top_p")
    private String topP;

    /**
     * 楼栋类型
     */
    @TableField("status")
    private Integer status;

    /**
     * 创建日期
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 楼名
     */
    @TableField("build_name")
    private String buildName;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBuildId() {
        return buildId;
    }

    public void setBuildId(Integer buildId) {
        this.buildId = buildId;
    }

    public String getLeftP() {
        return leftP;
    }

    public void setLeftP(String leftP) {
        this.leftP = leftP;
    }

    public String getTopP() {
        return topP;
    }

    public void setTopP(String topP) {
        this.topP = topP;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getBuildName() {
        return buildName;
    }

    public void setBuildName(String buildName) {
        this.buildName = buildName;
    }

    @Override
    public String toString() {
        return "BsPosition{" +
        "id=" + id +
        ", buildId=" + buildId +
        ", leftP=" + leftP +
        ", topP=" + topP +
        ", status=" + status +
        ", createTime=" + createTime +
        ", buildName=" + buildName +
        "}";
    }
}
